import request from '@/utils/request'

// 查询园区环评资料列表
export function listOpmEnvParkAssess(query) {
  return request({
    url: '/environment/opmEnvParkAssess/list',
    method: 'get',
    params: query
  })
}

// 查询园区环评资料详细
export function getOpmEnvParkAssess(id) {
  return request({
    url: '/environment/opmEnvParkAssess/' + id,
    method: 'get'
  })
}

// 新增园区环评资料
export function addOpmEnvParkAssess(data) {
  return request({
    url: '/environment/opmEnvParkAssess',
    method: 'post',
    data: data
  })
}

// 修改园区环评资料
export function updateOpmEnvParkAssess(data) {
  return request({
    url: '/environment/opmEnvParkAssess',
    method: 'put',
    data: data
  })
}

// 删除园区环评资料
export function delOpmEnvParkAssess(id) {
  return request({
    url: '/environment/opmEnvParkAssess/' + id,
    method: 'delete'
  })
}
